/* 全局 css  */
html,
body {
  height: 100%;
  padding: 0;
  margin: 0;
  background: #fff;
  overflow: hidden;
}

#app {
  width: 100%;
  height: 100%;
}

#app .el-loading-mask {
  background: rgba(255, 255, 255, 0.5);
}

/*el-button组件的圆角统一修改*/
.el-button {
  border-radius: 2px;
}

/* 自定义el-table组件斑马纹背景色 */
.el-table__row--striped {
  background-color: rgba(245, 247, 250, 1) !important;
}

/* 自定义el-input组件圆角 */
.el-input__wrapper {
  border-radius: 2px;
  box-shadow: 0 0 0 1px #d0d0d0 inset;
}

/* 自定义el-select组件圆角 */
.el-select__wrapper {
  border-radius: 2px;
  box-shadow: 0 0 0 1px #d0d0d0 inset;
}
// el-select组件hover
.custom_select--wrapperCenter {
  .el-select-dropdown__item:hover {
    background-color: rgba(0, 136, 255, 1);
    color: rgba(255, 255, 255, 1);
    font-size: 14px;
    text-align: center;
  }
  .el-select-dropdown__item {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.custom_select--wrapperLeft {
  .el-select-dropdown__item:hover {
    background-color: rgba(230, 243, 255, 1);
    color: rgba(0, 136, 255, 1);
    font-size: 14px;
  }
}

// el-select 配置项多选选中样式(适用于el-select组件(包含el-tree-select))
.custom-select {
  .el-select__selected-item {
    .el-tag {
      color: rgba(0, 136, 255, 1);
      background-color: rgba(255, 255, 255, 1) !important;
      border: 1px solid rgba(128, 196, 255, 1);
      border-radius: 4px;
      font-size: 14px;
      line-height: 150%;
      :deep(.el-select__tags-text) {
        font-size: 14px;
      }
    }
    .el-tag__close {
      color: rgba(0, 136, 255, 1);
      margin-left: 8px;
      width: 16px;
      height: 16px;
      svg {
        width: 16px;
        height: 16px;
      }
    }
    .el-tag__close:hover {
      color: rgba(0, 136, 255, 1);
      background-color: #fff;
    }
  }
}

.custom-drawer {
  // border-radius: 6px !important;
  .el-drawer__header {
    position: relative;
    padding: 15px 24px;
    margin-bottom: 0;
    color: rgba(29, 33, 41, 1);

    &::after {
      content: "";
      display: block;
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 1px;
      background-color: #e5e6ea;
    }
  }
  .el-drawer__close-btn .el-drawer__close svg path {
    transform: scale(1.17) !important;
    stroke: rgba(132, 140, 156, 1) !important;
    stroke-width: 15 !important;
  }
}

// el-date-picker组件自定义类名
.dhr-date-picker {
  .el-date-picker__header-label {
    color: rgba(66, 77, 94, 1);
    font-size: 15px;
    font-weight: bold;
  }
  // 日期
  .el-date-table td div {
    color: rgba(66, 77, 94, 1);
    font-size: 15px;
    font-weight: bold;
  }
  .el-date-table th {
    color: rgba(66, 77, 94, 1);
    font-size: 15px;
    font-weight: bold;
  }
  // 右下角确定按钮
  // .el-picker-panel__footer {
  //   display: block !important;
  //   border-top: none;
  //   // 此刻按钮去除
  //   .el-button.is-text {
  //     display: none;
  //   }
  // }
}

.com-page {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.com-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.com-chart {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

canvas {
  border-radius: 20px;
}
